package com.cmc.cloud.cmclink.doc.vo.sovo.sovo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 订舱主更新 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 订舱主更新 Request VO")
@Data
@ToString(callSuper = true)
public class SoListReqVO {
    @Schema(description = "船名", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "{so.bookingvessel.notblank}")
    private String bookingVessel;

    @Schema(description = "航次", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "{so.bookingvoyage.notblank}")
    private String bookingVoyage;

    @Schema(description = "装货港", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "{so.polcode.notblank}")
    private String polCode;

    @Schema(description = "订舱号", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<String> bookingNoList;


}
